package com.sync.syncmasterdata.defdoc.domain;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Builder;
import lombok.Data;

import java.util.List;

/**
 * BIP 品牌实例对象
 */
@Data
@Builder
public class BrandForBipDTO {
    @Builder.Default
    private String account = "01";
    @Builder.Default
    private String billtype = "branddoc";
    @Builder.Default
    private String sender = "syncMaster";
    @Builder.Default
    private String isexchange = "Y";
    @Builder.Default
    private String replace = "Y";
    @Builder.Default
    private String groupcode = "BS";

    private BrandForBipBill bill;

    @Data
    @Builder
    public static class BrandForBipBill {
        private BrandForBipBillHead billhead;

//        private String id;

        @Data
        public static class  BrandForBipBillHead{
            /**
             * 编码
             */
            private String code;

            /**
             * 名称
             */
            private String name;
            /**
             * 所属集团
             */
            private String pk_group="BS";
            /**
             * 所属组织
             */
            private String pk_org="BS";
            /**
             * 是否启用
             */
            private String enablestate = "2";

        }
    }
}
